package cn.enaium.message.repository;

import cn.enaium.message.entity.Muser;

import java.util.List;

public interface MuserRepository {
    int saveMuser(Muser muser);
    int updateNmaeMuser(String name,String uid);
    int updatePasswordMuser(String email , String newpas);
    int deleteByUidMuser(long uid);
    //查询
    List<Muser> findAllMuser(long uid);
    Integer  findByEmailMuser(String email);
    Muser  findByIdMuser(long uid);
    Muser findByEPMuser(String email,String password);
}
